﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Insight.CtrlClass
{
    public partial class DeskCtrl : UserControl
    {
        public DeskCtrl()
        {
           
        }

        public void SetDeskInfo(string str)
        {
            DeskInfo = str;
            InitializeComponent();
            this.button1.Name = this.DeskInfo;
            this.button1.Text = this.DeskInfo;
        }

        private string DeskInfo;
    }
}
